home *** CD-ROM | disk | FTP | other *** search
/ Champak 49 / Volume 49 - JOGO DISK .iso / Games / grabthegrub.swf / scripts / __Packages / StreetSpace.as < prev   
Encoding:
Text File  |  2007-10-01  |  787 b   |  37 lines

  1. class StreetSpace extends MovieClip
  2. {
  3.    var mcName;
  4.    var xPos;
  5.    var yPos;
  6.    var tileNum;
  7.    var fromLeft;
  8.    var fromRight;
  9.    var fromTop;
  10.    var fromBottom;
  11.    function StreetSpace(c, x, y, n, t, r, b, l)
  12.    {
  13.       super();
  14.       this.mcName = c;
  15.       this.xPos = x;
  16.       this.yPos = y;
  17.       this.tileNum = n;
  18.       this.fromLeft = l;
  19.       this.fromRight = r;
  20.       this.fromTop = t;
  21.       this.fromBottom = b;
  22.       this.mcName.lLine._visible = !l;
  23.       this.mcName.rLine._visible = !r;
  24.       this.mcName.tLine._visible = !t;
  25.       this.mcName.bLine._visible = !b;
  26.    }
  27.    function getMyInfo()
  28.    {
  29.       var _loc2_ = {};
  30.       for(var _loc3_ in this)
  31.       {
  32.          _loc2_[_loc3_] = this[_loc3_];
  33.       }
  34.       return _loc2_;
  35.    }
  36. }
  37.